package cn.virens.database.serviceimpl.base;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.virens.database.mysql.mapper.base.BaseAreaMapper;
import cn.virens.database.service.base.BaseAreaService;

/**
 * 区域数据接口服务
 * 
 * @作者   : virens
 * @创建时间 :2018年2月28日 上午9:19:53
 */
@Service
public class BaseAreaServiceImpl implements BaseAreaService {
	@Autowired
	protected BaseAreaMapper mBaseAreaMapper;

	@Override
	@Transactional(readOnly = true)
	public List<Map<String, Object>> select(String code, String name, String pcode) {
		return mBaseAreaMapper.selectList(code, name, pcode);
	}
}
